/*标题*/
#title {
    height: 160px;
    width: 1200px;
    margin: 0 auto;
    display: flex;

    .box1 {
        /*第一个盒子*/
        width: 330px;
        height: 160px;
        display: flex;
        align-items: center;

        .logo {
            margin-left: 28px;
        }

        .text {
            margin-left: 28px;

            h3 {
                font-size: 30px;
                letter-spacing: 7px;
            }

            a {
                color: #4a1e08;
            }
        }
    }

    .box2 {
        /*第二个盒子*/
        width: 540px;
        height: 160px;
        display: flex;
        align-items: center;
        justify-content: center;

        .searchBox {
            width: 532px;
            height: 48px;
            border: 2px solid #4a1e08;
            border-radius: 50px;
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                height: 40px;
            }

            .text {
                height: 38px;
                width: 346px;
                border: none;
                font-size: 18px;
                outline-style: none;
            }

            .button {
                height: 42px;
                width: 128px;
                background-color: #ffe34f;
                border: none;
                border-radius: 50px;
                cursor: pointer;

            }

        }
    }

    .box3 {
        /*第三个盒子*/
        width: 330px;
        height: 160px;
        display: flex;
        align-items: center;
        justify-content: space-evenly;

        div {
            width: 48px;
            display: flex;
            flex-direction: column;
            align-items: center;

            img {
                width: 40px;
            }

            span {
                margin-top: 8px;
                color: #8a7a73;
            }
        }
    }

}

/*导航*/
#navigation {
    height: 46px;
    min-width: 1200px;
    background-color: #492208;

    .centaner {
        height: 46px;
        width: 1200px;
        margin: 0 auto;

        ul {
            display: flex;
            justify-items: flex-start;

            li {
                width: 220px;
                height: 46px;

                a {
                    line-height: 46px;
                    text-align: center;
                    display: block;
                    font-size: 18px;
                    color: white;
                }

                a:hover {
                    color: #492208;
                    background-color: #ffe34f;
                }
            }

            .style {
                color: #492208;
                background-color: #ffe34f;
            }
        }

    }
}

#conten {
    width: 1200px;
    min-height: 600px;
    margin: 0 auto;
    img{
        width: 100%;
        height: 100%;
    }

    .text {
        width: 1200px;
        
        display: flex;

        .box1 {
            padding-top: 20px;
            width: 500px;
            height: 530px;
           

            .left {
                width: 500px;
                height: 500px;
                .picture {
                    width: 400px;
                    height: 400px;
                    border: 1px solid black;
                    margin: 0 auto;
                    position: relative;
                }

                .cover {
                    width: 150px;
                    height: 150px;
                    background-color: rgba(253, 249, 4, 0.5);
                    position: absolute;
                    top: 0;
                    left: 0;
                    pointer-events: none;
                    display: none;
                }

                .list {
                    width: 400px;
                    height: 100px;
                    margin: 0 auto;
                    display: flex;
                    margin-top: 5px;
                    justify-content: space-evenly;

                    img {
                        width: 100px;
                        height: 100px;

                    }

                }
            }
            .right{
                width: 500px;
                height: 500px;
                border: 1px solid black;
                overflow: hidden;
                display: none;
                position: fixed;
                top: 100px;
                right: 200px;
                img{
                    width: 1000px;
                    height: 1000px;
                    position: absolute;
                    top: 0;
                    left: 0;
                }
            }

        }

        .box2 {
            width: 700px;
            height: 550px;
           
            display: flex;
           flex-direction: column;
           justify-content: center;
           align-items: center;
            
            .box2title{
                width: 600px;
                height: 100px;
               
                p{ 
                    word-wrap:break-word;
                    font-size: 30px;
                }
            }
            .box2price{
                margin-bottom: 20px;
                margin-top: 20px;
                height: 100px;
                width: 600px;
                 background-color: rgb(228, 228, 228);
                p{
                    text-align: center;
                    height: 100px;
                    font-size: 20px;
                    color: red;
                    line-height: 100px;
                   
                    span{
                        font-size: 30px;
                        color: red;
                    }
                }
            }
            .box2buy{
                button{
                    width: 150px;
                    height: 50px;
                    background-color: red;
                    color: white;
                    border: none;
                    border-radius: 50px;
                }

            }

        }
    }

    .photo {
        width: 1200px;
        background-color: #8a7a73;
        display: flex;
        flex-direction: column;
        align-items: center;

        img {
            background-color: #ffe34f;
            margin: 20px;
        }
    }
}

/*页脚*/
#foot {
    min-width: 1200px;
    height: 230px;
    background-color: #484848;

    .centanier {
        width: 1200px;
        height: 200px;
        margin: 0 auto;
        display: flex;
        align-items: center;

        img {
            width: 115px;
            margin: 20px;
        }

        div {
            text-align: center;

            h2 {
                font-size: 30px;
                color: white;
                line-height: 30px;
            }

            p {
                font-size: 15px;
                color: white;
                line-height: 18px;
            }
        }

        .text {
            margin-left: 200px;

            a {
                font-size: 20px;
                color: white;
            }

        }

    }

    .foot-text {
        width: 1200px;
        height: 30px;
        margin: 0 auto;
        display: flex;
        justify-content: center;

        img {
            height: 20px;
            margin-left: 5px;
            margin-right: 5px;
        }

        p {
            font-size: 20px;
            color: white;
        }
    }
}


/*回到顶部*/
#top {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffe34f;
    line-height: 60px;
    text-align: center;
    cursor: pointer;
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 100;
    display: none;

    p {
        font-size: 14px;
        color: white;
    }
}